<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;
use \DB;
class AuditResultController extends CommonController
{
    /**
     * 项目评审结果列表
     */
    public function getList()
    {
        $lists = DB::table('project_review')
            ->leftJoin('user', 'user.uid', '=', 'project_review.uid')
            ->orderBy('project_review.id', 'asc')
            ->select('project_review.*', 'user.nickname')
            ->paginate(10);
//        dd($lists);exit;

        return view('auditresult.list')->with("lists", $lists);
    }


}
